package com.usian.tu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmMaterialDto;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.dtos.WmNewsPassDto;
import com.usian.model.media.pojos.WmMaterial;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialservice extends IService<WmMaterial> {
//    上传图片
    public ResponseResult sc(MultipartFile multipartFile);
//素材查询
    public ResponseResult sucailist(WmMaterialDto dto);
    //素材删除
    public ResponseResult del(@PathVariable Integer id);

//素材状态
    public  ResponseResult zt(Integer id, Integer uid);
//文章查询
    public ResponseResult wzlist(WmNewsPageReqDto dto);


    ResponseResult wzlisttu(NewsAuthDto dto);


    ResponseResult meitihuixian(Integer id);



    ResponseResult pass(WmNewsPassDto wmNewsPassDto);

    ResponseResult fail(WmNewsPassDto wmNewsPassDto);

}
